﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket_Desktop.EMServices;
namespace ElectronicsMarket_Desktop.BL
{
  public  class DepartmentBL
    {
      ServicesReleaseSoapClient services;
      DEPARTMENT _department;

      public DEPARTMENT Department
      {
          get { return _department; }
          set { _department = value; }
      }
      public DepartmentBL()
      {
          services = new ServicesReleaseSoapClient();
          Department = new DEPARTMENT();
          
      }
      public List<DEPARTMENT> getAllDepartment()
      {
          return services.getAllDepartment().ToList();
      }
    }
}
